package com.sky.mapper;

import com.sky.dto.GoodsSalesDTO;
import com.sky.entity.OrderDetail;

import java.util.List;
import java.util.Map;

public interface OrderDetailMapper {

    //批量插入订单明细数据
    void insertBatch(List<OrderDetail> orderDetails);

    List<OrderDetail> getByOrderDetail(Long orderId);

    List<GoodsSalesDTO> getNameAndNumber(Map map);
}
